﻿//Copyright (C) <2013>  <jonathan cleeve norton> All Rights Reserved 
//Contact jon.norton@fin-plus.co.uk website <http://www.fin-plus.co.uk/>
using System;

namespace FinPlusWPFControls
{
    public partial class FinPlusErrorDisplay : FinPlusControl
    {
        public override string[] States { get { return new string[] { "Height", "Width", "Left", "Top" }; } }
        public override string[] TestStates { get { return new string[] { "TestString", "IsValid" }; } }

        //construct
        public FinPlusErrorDisplay(Exception exception)
        {
            InitializeComponent();
            errorText.Text = exception.Message;
        }
    }
}
